package cn.sys.controller.dto;

import java.util.Date;

/**
 * 搜索时可以用到的信息封装工具类
 */
public class SearchDTO {
    /**
     * 模糊搜索的内容
     */
    private String content;
    /**
     * 搜索时开始的时间
     */
    private Date startTime;
    /**
     * 搜索时结束的时间
     */
    private Date endTime;
    /**
     * 类型
     */
    private Integer type;

    /**
     * 分页时，当前的页码数
     */
    private Integer pageNum;
    /**
     * 每页显示的数据量
     */
    private Integer pageSize;
    /**
     * 排序的字段
     */
    private String orderBy;

    /**
     * 增加一个管理员id字段，用来查询管理员发布的公告列表
     */
    private Integer managerId;

    /**
     * 学生id
     * @return
     */
    private Integer stuId;

    /**
     * 宿舍位置dorPosId
     * @return
     */
    private Integer dorPosId;

    /**
     * 学生姓名
     * @return
     */
    private String realName;

    /**
     * 学生性别
     * @return
     */
    private String gender;

    /**
     * 学校名称
     * @return
     */
    private String schoolName;

    /**
     * 学生手机号
     * @return
     */
    private String phoneNum;

    /**
     * 寝室id
     * @return
     */
    private Integer dorId;

    /**
     * 寝室状态 0-空寝；1-男寝；2-女寝
     * @return
     */
    private Integer state;

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getDorId() {
        return dorId;
    }

    public void setDorId(Integer dorId) {
        this.dorId = dorId;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public Integer getStuId() {
        return stuId;
    }

    public void setStuId(Integer stuId) {
        this.stuId = stuId;
    }

    public Integer getDorPosId() {
        return dorPosId;
    }

    public void setDorPosId(Integer dorPosId) {
        this.dorPosId = dorPosId;
    }

    public Integer getManagerId() {
        return managerId;
    }

    public void setManagerId(Integer managerId) {
        this.managerId = managerId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }
}
